import store from '@/store'

export default {
  methods: {
    canClick (pointCode) {
      const userInfo = store.state.user.userInfo
      return userInfo.roles && userInfo.roles.points.includes(pointCode)
    }
  }
}
